public class TestD extends TestA{
    public static void main(String[] args) {
        int[] arr = new int[]{1,2,3};
        System.out.println(arr[3]);
        //不会报错，只会警告
    }
}
